package com.landscope.issue.controller.wx.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author qzp
 * @version v1.0
 * @date 2021/8/5 22:34
 **/
@Data
public class AppletMessageListDto {
    @ApiModelProperty("系统消息列表")
    private List<MessageItem> versionList;
    @ApiModelProperty("台站消息列表")
    private List<MessageItem> staList;

    @Data
    public static class MessageItem{
        @ApiModelProperty("标题")
        private String title;
        @ApiModelProperty("内容")
        private String content;
        @ApiModelProperty("日期")
        private String date;
        @ApiModelProperty("消息ID")
        private Long id;
        @ApiModelProperty("台站名称")
        private String name;
        @ApiModelProperty("电压")
        private String voltage;
        @ApiModelProperty("授时状态")
        private String gps;
        @ApiModelProperty("信号强度")
        private String g4Singal;
        @ApiModelProperty("电源状态")
        private String sourceStatus;
        @ApiModelProperty("地点")
        private String staAdr;
        @ApiModelProperty("0-未读，1-已读")
        private Integer readed;
    }
}
